API Browser

Type extension

ResultErrorContextExtensions<T, E>

extension ResultErrorContextExtensions<T, E> for Result<T, E> where E: IError

Namespace: System
Assembly: Raven.Core.dll
Source file: Result.rvn

Provides contextual error operations for results whose error implements IError.

Receiver

Result<T, E>

Methods

1 item
Extension member: WithContext<T, E>(message: string) -> Result<T, ContextError<E>> Wraps only the error channel with operation context. The original typed error is preserved as the contextual error's cause. Extension from ResultErrorContextExtensions<T, E>.WithContext